package com.example.farmeri.ui.farm_manager;

import com.example.farmeri.data.config.ServiceConfig;
import com.example.farmeri.pojo.vo.BaseCallBack;
import com.example.farmeri.tools.OKHttpClientUtils;

/**
 * Create by weiqishan on 2020/11/22.
 */
public class FarmMangerServiceImpl implements FarmMangerService{

    @Override
    public void getRoleNumber(BaseCallBack callBack) {
        OKHttpClientUtils.userGet(ServiceConfig.getUserWithRole(),callBack);
    }

    @Override
    public void getSingleUserWithRole(BaseCallBack callBack) {
        OKHttpClientUtils.userGet(ServiceConfig.getFarmerManagers(),callBack);
    }

}
